<#noparse>
<#include "../../_inc/desktop/_layout.html"/>
<@layout active_id=p child_active_id=c>
</#noparse>
    <script type="text/javascript" src="<#noparse>${CPATH}</#noparse>/vendor/umeditor/third-party/template.min.js"></script>
    <script type="text/javascript" charset="utf-8" src="<#noparse>${CPATH}</#noparse>/vendor/umeditor/umeditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="<#noparse>${CPATH}</#noparse>/vendor/umeditor/umeditor.min.js"></script>
    <script type="text/javascript" src="<#noparse>${CPATH}</#noparse>/vendor/umeditor/lang/zh-cn/zh-cn.js"></script>
					<div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief">
					  <ul class="layui-tab-title  site-demo-title">
					    <#noparse><li <#if status='all'> class="layui-this"</#if>><a href="javascript:void(0);" onclick='L("${CPATH}</#noparse>/desktop/${gen.subPackageName}/${entity.SUB_MODEL_NAME?lower_case}?ajax=true","content")'>全部信息</a></li>
					    <#noparse><li <#if status='apply'> class="layui-this"</#if>><a href="javascript:void(0);" onclick='L("${CPATH}</#noparse>/desktop/${gen.subPackageName}/${entity.SUB_MODEL_NAME?lower_case}?status=apply&ajax=true","content")'>待审核</a></li>
					    <#noparse><li <#if status='approve'> class="layui-this"</#if>><a href="javascript:void(0);" onclick='L("${CPATH}</#noparse>/desktop/${gen.subPackageName}/${entity.SUB_MODEL_NAME?lower_case}?status=approve&ajax=true","content")'>已审核</a></li>
					  		<li class="actions"><a href='javascript:void(0);' onclick='L("<#noparse>${CPATH}</#noparse>/desktop/${gen.subPackageName}/${entity.SUB_MODEL_NAME?lower_case}/edit.xhtml","content")'>新建</a></li>
					  </ul>

					  <div class="layui-body layui-tab-content site-demo site-demo-body" >
					    <div class="layui-tab-item layui-show">
					    	<div class="layui-main" >
					    			<div id="info_list">
 										<#noparse><#include</#noparse> "desktop/${gen.subPackageName}/${entity.SUB_MODEL_NAME?lower_case}/list.html"/>
									</div>
									<div id="info_pager">
									</div>
							</div>
					    </div>
					    <div class="layui-tab-item">
					    	<div class="layui-main"></div>
					    </div>
					    <div class="layui-tab-item">
					    	<div class="layui-main"></div>
					    </div>
					  </div>
					</div> 	  

					<script>
					var _INIT_PAGE = true;
						$(document).ready(function() {
							var form = layui.form();
							I.page('info_pager', 'info_list', <#noparse>${page.totalPage}</#noparse>, '<#noparse>${CPATH}</#noparse>/desktop/${gen.subPackageName}/${entity.SUB_MODEL_NAME?lower_case}/list.xhtml?status=<#noparse>${status}</#noparse>&page={page}', '{page}');		  
						});
					</script>
<!-- End: Content -->
<#noparse>
</@layout>
</#noparse>